package cn.ithers.blog.service;

import cn.ithers.blog.dto.CategoryDTO;
import cn.ithers.blog.response.ResponseResult;

/**
 * @Author: zhanghuan
 * @date: 2020/9/28 9:42
 * @description:
 */

public interface ICategoryService {
    ResponseResult addCategory(CategoryDTO categoryDTO);

    ResponseResult getCategory(String categoryId);

    ResponseResult getCategoryList();

    ResponseResult updateCategory(String categoryId, CategoryDTO categoryDTO);

    ResponseResult deleteCategory(String categoryId);
}
